Rafael Fontenelle [Tue, 28 Aug 2018 02:56:52 +0000 (02:56 +0000)]
Update Brazilian Portuguese translation
Changwoo Ryu [Mon, 27 Aug 2018 14:12:09 +0000 (14:12 +0000)]
Update Korean translation
Milo Casagrande [Mon, 27 Aug 2018 08:02:19 +0000 (08:02 +0000)]
Update Italian translation
Matthias Clasen [Sun, 26 Aug 2018 23:48:26 +0000 (23:48 +0000)]
Merge branch 'clear_preedit' into 'gtk-3-24'
Clear preedit when a text input loses focus
See merge request GNOME/gtk!302
Matthias Clasen [Sun, 26 Aug 2018 22:57:39 +0000 (18:57 -0400)]
Deprecate GtkRange::upper/lower-stepper-sensitivity
These properties have been removed in GTK+ 4.
Deprecate them here.
Kukuh Syafaat [Sun, 26 Aug 2018 13:43:56 +0000 (13:43 +0000)]
Update Indonesian translation
Kukuh Syafaat [Sun, 26 Aug 2018 13:43:26 +0000 (13:43 +0000)]
Update Indonesian translation
Baurzhan Muftakhidinov [Sat, 25 Aug 2018 17:27:26 +0000 (17:27 +0000)]
Update Kazakh translation
Baurzhan Muftakhidinov [Sat, 25 Aug 2018 17:26:55 +0000 (17:26 +0000)]
Update Kazakh translation
Baurzhan Muftakhidinov [Sat, 25 Aug 2018 17:26:07 +0000 (17:26 +0000)]
Update Kazakh translation
Christian Kirbach [Sat, 25 Aug 2018 10:48:51 +0000 (10:48 +0000)]
Update German translation
Dorota Czaplejewicz [Thu, 23 Aug 2018 10:32:11 +0000 (12:32 +0200)]
imwayland: clear preedit on focus out
Benjamin Otte [Wed, 22 Aug 2018 17:48:20 +0000 (19:48 +0200)]
Don't deprecate gtk_widget_show_all()
After discussions on IRC, the conclusion was reached that deprecations
only make sense if an action can be taken to not use the deprecated code
that makes the code more current and simplifies a later port to a newer
GTK version.
In this particular case, the suitable action would be adding
gtk_widget_show() calls whenever a widget is created, so that a call to
show_all() is not necessary.
However, in GTK4 these calls would not be necessary and end up just
bloating the codebase unnecessarily.
So it was decided the better solution would be to not deprecate the API
and instead leave this work to be done during potential GTK4 ports of
applications.
This reverts commit
4d71d2303dafe1c02eb79040e32fe2172d1f295f.
Fixes !1282
Cheng-Chia Tseng [Tue, 21 Aug 2018 16:23:16 +0000 (16:23 +0000)]
Update Chinese (Taiwan) translation
Cheng-Chia Tseng [Tue, 21 Aug 2018 16:15:54 +0000 (16:15 +0000)]
Update Chinese (Taiwan) translation
Rico Tzschichholz [Mon, 20 Aug 2018 14:57:54 +0000 (16:57 +0200)]
gesturestylus: Add missing array g-i annotation for *_get_axes params
Bruce Cowan [Sun, 19 Aug 2018 16:50:48 +0000 (16:50 +0000)]
Update British English translation
Matthias Clasen [Sat, 18 Aug 2018 20:44:24 +0000 (20:44 +0000)]
Merge branch 'win32-scroll-deltas' into 'gtk-3-24'
GDK W32: Support smooth scrolling
See merge request GNOME/gtk!292
Tim Sabsch [Sat, 18 Aug 2018 15:41:45 +0000 (15:41 +0000)]
Update German translation
Jordi Mas [Sat, 18 Aug 2018 06:29:58 +0000 (08:29 +0200)]
Update Catalan translation
Jordi Mas [Sat, 18 Aug 2018 06:23:10 +0000 (08:23 +0200)]
Update Catalan translation
Iain Lane [Mon, 13 Aug 2018 12:52:41 +0000 (13:52 +0100)]
colorpickershell: Unpack the tuple returned from PickColor()
When calling PickColor on org.gnome.Shell, we get back an "a{sv}", which
GDBus provides to us as "(a{sv})".
At the minute we're not unpacking this tuple, and so picking fails with
messages like:
GLib-CRITICAL **: 13:38:19.439: g_variant_lookup_value: assertion 'g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{s*}")) || g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{o*}"))' failed
Gtk-WARNING **: 13:38:19.439: Picking color failed: No color received
Let's unpack it.
Ricardo Silva Veloso [Fri, 17 Aug 2018 08:32:13 +0000 (08:32 +0000)]
Update Brazilian Portuguese translation
Matthias Clasen [Wed, 15 Aug 2018 22:02:45 +0000 (22:02 +0000)]
Merge branch 'fix-shifted-scrolling-gtk3' into 'gtk-3-24'
gtkscrolledwindow: Consider shift key presses when decelerating [gtk3]
See merge request GNOME/gtk!287
Matthias Clasen [Wed, 15 Aug 2018 22:01:20 +0000 (22:01 +0000)]
Merge branch 'wip/tooltip-move-to-rect' into 'gtk-3-24'
Make tooltips use gdk_window_move_to_rect()
See merge request GNOME/gtk!293
Jonas Ådahl [Tue, 14 Aug 2018 17:52:59 +0000 (17:52 +0000)]
Merge branch 'wip/carlosg/issue-844' into 'gtk-3-24'
gdk/wayland: Avoid idempotent wl_subsurface.set_position calls
See merge request GNOME/gtk!294
Carlos Garnacho [Thu, 5 Oct 2017 23:06:03 +0000 (01:06 +0200)]
gdk/wayland: Avoid idempotent wl_subsurface.set_position calls
These may not result on wl_surface.frame callbacks, yet we do trigger
a frame clock tick that would get stuck on the lack of such callback.
https://bugzilla.gnome.org/show_bug.cgi?id=784314
https://gitlab.gnome.org/GNOME/gtk/issues/844
Closes: #844
Claude Paroz [Tue, 14 Aug 2018 11:41:09 +0000 (13:41 +0200)]
Updated French translation
Emin Tufan Çetin [Sun, 12 Aug 2018 11:07:37 +0000 (11:07 +0000)]
Update Turkish translation
Emin Tufan Çetin [Sun, 12 Aug 2018 10:27:10 +0000 (10:27 +0000)]
Update Turkish translation
Emin Tufan Çetin [Sun, 12 Aug 2018 10:21:06 +0000 (10:21 +0000)]
Update Turkish translation
Yi-Jyun Pan [Sun, 12 Aug 2018 10:08:50 +0000 (10:08 +0000)]
Update Chinese (Taiwan) translation
Piotr Drąg [Sat, 11 Aug 2018 21:57:28 +0000 (23:57 +0200)]
Update Polish translation
Aurimas Černius [Sat, 11 Aug 2018 15:09:03 +0000 (18:09 +0300)]
Updated Lithuanian translation
Jonas Ådahl [Fri, 10 Aug 2018 15:11:46 +0000 (17:11 +0200)]
tooltip: Implement positioning using gdk_window_move_to_rect()
In order to make tooltip positioning portable, make use of the
move_to_rect API. Some semantical changes are made, as identical
semantics cannot be implemented using the move-to-rect API.
Primarily the implemented semantics are:
Position the tooltip in the center pixels slightly below (defaults to 4
units below) the tooltipped widget. This is always the case for keyboard
driven tooltips; the case where it tries to avoid the pointer cursor is
not implemented.
For pointer position triggered tooltips, implement the following
additional semantics:
Use the current cursor size to determine the padding used to enlarge the
anchor rectangle. This is to try to avoid the cursor overlapping the
tooltip.
If the anchor rectangle is too tall (meaning if we'd be constrained
and flip on the Y axis, it'd flip too far away from the originally
intended position), rely only on the pointer position to position the
tooltip. The approximate pointer cursor rectangle is used as a anchor
rectangle. Ideally we should use the actual pointer cursor rectangle
(image used as well as hotspot coordinate), but we don't have API to
get that information.
If the anchor rectangle isn't to tall, just make sure the tooltip isn't
too far away from the pointer position on the X axis.
Closes: #134
Closes: #432
Closes: #574
Closes: #579
Closes: #878
Jonas Ådahl [Fri, 10 Aug 2018 15:10:16 +0000 (17:10 +0200)]
gdk/wayland: Always map windows 'moved-to-rect' as popups
Only popups can make use of the move-to-rect semantics so it makes no
sense to try anything other surface type.
Jonas Ådahl [Fri, 10 Aug 2018 15:07:05 +0000 (17:07 +0200)]
gdk/wayland: Don't remap non-subsurface as subsurface
Let's just use the fact that a window was mapped as a subsurface to
remap it above another transient parent instead of relying on the more
complicated 'should-map-as-subsurface' helper function.
Claude Paroz [Thu, 9 Aug 2018 10:37:29 +0000 (10:37 +0000)]
Update French translation
Matthias Clasen [Wed, 8 Aug 2018 09:18:32 +0000 (09:18 +0000)]
Merge branch 'gtk-3-24-improve-error-message' into 'gtk-3-24'
gtkplacessidebar: Improve error message when unlocking volume fails
See merge request GNOME/gtk!266
Руслан Ижбулатов [Tue, 7 Aug 2018 21:29:21 +0000 (21:29 +0000)]
GDK W32: Support smooth scrolling
Set delta_x or delta_y for GdkScrollEvent.
HIWORD (wParam) in WM_MOUSE(H)WHEEL is the scroll delta.
A delta value of WHEEL_DELTA (which is 120) means scrolling
one full unit of something (for example, a line).
The delta should also be multiplied by the value that the
SystemParametersInfo (SPI_GETWHEELSCROLL(LINES|CHARS), 0, &value, 0)
call gives back, unless it gives back 0xffffffff, in which case
it indicates that scrolling is page- or screen-based, not line-based
(GDK doesn't support that at the moment).
Also, all deltas should be inverted, since MS sends negative deltas
when scrolling down (rotating the wheel back, in the direction of
the user).
With deltas set the mode should be set to GDK_SCROLL_SMOOTH.
Fixes issue 1263.
Baurzhan Muftakhidinov [Mon, 6 Aug 2018 17:16:43 +0000 (17:16 +0000)]
Update Kazakh translation
Piotr Drąg [Mon, 6 Aug 2018 16:55:14 +0000 (18:55 +0200)]
Update Polish translation
Matthias Clasen [Mon, 6 Aug 2018 12:14:29 +0000 (12:14 +0000)]
Merge branch 'gtk-3-24-fix-link-error' into 'gtk-3-24'
font chooser widget: Add missing build flags
See merge request GNOME/gtk!290
Kouhei Sutou [Mon, 6 Aug 2018 07:15:48 +0000 (16:15 +0900)]
font chooser widget: Add missing build flags
If we detect HarfBuzz and PangoFT2, GtkFontChooserWidget uses them. So
we need to add CFLAGS and LIBS of them to GTK_DEP_CFLAGS/LIBS. If we
don't add them, MinGW build fails to link.
Aurimas Černius [Sun, 5 Aug 2018 13:02:30 +0000 (16:02 +0300)]
Updated Lithuanian translation
Matthias Clasen [Sun, 5 Aug 2018 01:39:10 +0000 (21:39 -0400)]
Make color picker circular
The need for center alignment was pointed out by Timm Baeder.
Matthias Clasen [Fri, 3 Aug 2018 00:55:07 +0000 (20:55 -0400)]
color picker: Also try kwin
use a kwin color picker when we run under kwin.
Matthias Clasen [Fri, 3 Aug 2018 00:54:21 +0000 (20:54 -0400)]
Only use the portal color picker when appropriate
This is just moving this check around.
Matthias Clasen [Fri, 3 Aug 2018 00:53:37 +0000 (20:53 -0400)]
Add a kwin color picker
This uses the org.kde.kwin.ColorPicker interface.
Piotr Drąg [Sat, 4 Aug 2018 17:39:31 +0000 (19:39 +0200)]
Update Polish translation
Sebastian Keller [Sat, 4 Aug 2018 14:36:47 +0000 (16:36 +0200)]
gtkscrolledwindow: Consider shift key presses when decelerating
Otherwise horizontal scrolling using the shift key would decelerate
vertically.
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/770
Benjamin Otte [Tue, 31 Jul 2018 20:42:26 +0000 (22:42 +0200)]
container: Deprecate focus chains
Matthias Clasen [Tue, 31 Jul 2018 17:31:57 +0000 (13:31 -0400)]
Deprecate show_all apis
These functions are gone in GTK+ 4, so deprecate them here.
Andrea Azzarone [Thu, 26 Jul 2018 08:16:32 +0000 (10:16 +0200)]
window: Fallback to CSD titlebar in focus-chain
CSD titlebar are included in the focus-chain. The logic used makes sure that the
initial focus avoids the titlebar, but tabbing around will eventually get there.
This logic fails in case the window has no other focusable widgets apart from
the ones in the header-bar. If this happens keynav focus will be lost. To handle
the above scenario, we need to fallback to focus the header-bar (if any).
Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/404
Matthias Clasen [Tue, 31 Jul 2018 01:54:13 +0000 (01:54 +0000)]
Update a11y test results
The color picker shows up here.
Matthias Clasen [Mon, 30 Jul 2018 22:33:13 +0000 (18:33 -0400)]
3.23.2
Matthias Clasen [Mon, 30 Jul 2018 21:59:16 +0000 (17:59 -0400)]
color picker: Better debug spew
This will help in debugging issues.
Matthias Clasen [Thu, 26 Jul 2018 22:50:03 +0000 (18:50 -0400)]
Add a color picker implementation for gnome-shell
This adds a GtkColorPicker implementation that talks
to gnome-shell to get a color.
Matthias Clasen [Thu, 26 Jul 2018 22:48:37 +0000 (18:48 -0400)]
Add a color picker implementation for portals
This adds a GtkColorPicker implementation that talks
to the screnshot portal to get a color.
Matthias Clasen [Thu, 26 Jul 2018 22:46:37 +0000 (18:46 -0400)]
color editor: Add a color picker button
The button is shown if we have a GtkColorPicker implementation.
Currently, there are none, so the button is never shown.
Matthias Clasen [Thu, 26 Jul 2018 22:45:49 +0000 (18:45 -0400)]
Add a color picker interface
This will be used in the color chooser, in subsequent commits.
Piotr Drąg [Mon, 30 Jul 2018 20:44:10 +0000 (22:44 +0200)]
Update POTFILES.in
Matthias Clasen [Mon, 30 Jul 2018 19:31:37 +0000 (19:31 +0000)]
Merge branch 'wl_text_input_clean' into 'gtk-3-24'
Replace gtk_text_input with text_input_unstable_v3 support
See merge request GNOME/gtk!272
Dorota Czaplejewicz [Thu, 29 Mar 2018 17:49:10 +0000 (19:49 +0200)]
imwayland: Add text-input-unstable-v3 support
The wayland input module now represents text-input-unstable-v3 support, while the old module supporting gtk-text-input was renamed to gtkwayland.
Matthias Clasen [Mon, 30 Jul 2018 14:53:48 +0000 (14:53 +0000)]
Merge branch 'issue1214-tooltips-win32' into 'gtk-3-24'
Gdk-Win32: Correct handling of transient state changes
See merge request GNOME/gtk!248
Piotr Drąg [Sun, 29 Jul 2018 18:24:41 +0000 (20:24 +0200)]
Update Polish translation
Matthias Clasen [Sun, 29 Jul 2018 13:08:05 +0000 (13:08 +0000)]
Updates
Matthias Clasen [Fri, 27 Jul 2018 11:56:56 +0000 (11:56 +0000)]
Include Emoji category icons as resources too
These icons are very new in the Adwaita icon theme, so we can't
rely on them being widely available, and will just include them
for now.
Matthias Clasen [Thu, 19 Jul 2018 21:24:11 +0000 (17:24 -0400)]
Emoji chooser: Use icons for sections
This is more reliable than using text-style Emoji
which may not be present.
Based on work by Julian Sparber.
Aurimas Černius [Sat, 28 Jul 2018 17:31:14 +0000 (20:31 +0300)]
Updated Lithuanian translation
Carlos Garnacho [Sat, 28 Jul 2018 10:14:56 +0000 (10:14 +0000)]
Merge branch 'wip/chergert/imwayland-leak' into 'gtk-3-24'
imwayland: fix potential leak of attr list
See merge request GNOME/gtk!277
Christian Hergert [Sat, 28 Jul 2018 06:46:31 +0000 (23:46 -0700)]
imwayland: fix potential leak of attr list
This fixes a potential leak of a PangoAttrList that is set when chaining
up to the parent get_preedit_string(). We check to see if the attr list
was created and reuse it instead of leaking the previous value.
Luca Bacci [Tue, 17 Jul 2018 10:01:54 +0000 (12:01 +0200)]
Gdk-Win32: Correct handling of transient state changes
gdk_win32_window_set_transient_for() behaves incorrectly when
called in sequence with the same arguments. This fix ensures it
always operates correctly.
In some cases this function gets called multiple times with the
same arguments, e.g. when tooltips are shown.
See issue #1214
Benjamin Otte [Tue, 24 Jul 2018 17:44:36 +0000 (19:44 +0200)]
gtk; Deprecate gtk_render_frame_gap()
Use gtk_render_frame() instead.
Benjamin Otte [Tue, 24 Jul 2018 18:32:06 +0000 (20:32 +0200)]
gdk: Add GDK_DEPRECATED_IN_3_24() macros
Daniel Mustieles [Tue, 24 Jul 2018 08:13:50 +0000 (10:13 +0200)]
Updated Spanish translation
segfault [Mon, 23 Jul 2018 21:35:01 +0000 (23:35 +0200)]
gtkplacessidebar: Improve error message when unlocking volume fails
Daniel Mustieles [Mon, 23 Jul 2018 10:07:23 +0000 (10:07 +0000)]
Update Spanish translation
Daniel Mustieles [Mon, 23 Jul 2018 10:02:39 +0000 (10:02 +0000)]
Update Spanish translation
Matthias Clasen [Sun, 22 Jul 2018 17:14:27 +0000 (17:14 +0000)]
Merge branch 'gtk-3-24-add-spinner-to-sidebar-row' into 'gtk-3-24'
gtkplacessidebar: Show busy spinner in sidebar row during mount ops
See merge request GNOME/gtk!260
segfault [Sun, 22 Jul 2018 11:47:46 +0000 (13:47 +0200)]
gtkplacessidebar: Show busy spinner in sidebar row during mount ops
Bastien Nocera [Sat, 21 Jul 2018 12:50:37 +0000 (14:50 +0200)]
test: Fix compile-time warnings
testsuite/gtk/notify.c: In function ‘test_type’:
testsuite/gtk/notify.c:434:14: warning: assignment to ‘GObject *’ {aka ‘struct _GObject *’} from incompatible pointer type ‘GtkSettings *’ {aka ‘struct _GtkSettings *’} [-Wincompatible-pointer-types]
instance = g_object_ref (gtk_settings_get_default ());
^
testsuite/gtk/notify.c:443:16: warning: assignment to ‘GObject *’ {aka ‘struct _GObject *’} from incompatible pointer type ‘GdkWindow *’ {aka ‘struct _GdkWindow *’} [-Wincompatible-pointer-types]
instance = g_object_ref (gdk_window_new (NULL, &attributes, 0));
^
Carlos Garnacho [Fri, 16 Feb 2018 18:25:15 +0000 (19:25 +0100)]
gtksettings: Remove leftover code
The immodule variable is unused
Tim Sabsch [Fri, 20 Jul 2018 20:31:47 +0000 (20:31 +0000)]
Update German translation
Matthias Clasen [Fri, 20 Jul 2018 14:07:44 +0000 (14:07 +0000)]
Merge branch 'gtk-3-24' into 'gtk-3-24'
Remove deprecated functions
See merge request GNOME/gtk!255
Benjamin Otte [Fri, 20 Jul 2018 14:05:12 +0000 (14:05 +0000)]
Merge branch 'wip/muktupavels/deprecate-gtk-css-provider-get-default' into 'gtk-3-24'
gtkcssprovider: deprecate gtk_css_provider_get_default
See merge request GNOME/gtk!257
Alberts Muktupāvels [Thu, 19 Jul 2018 16:20:50 +0000 (19:20 +0300)]
gtkcssprovider: deprecate gtk_css_provider_get_default
This function is unused since
cdc6e8272020 commit and does not
contain fallback style.
https://gitlab.gnome.org/GNOME/gtk/issues/1226
Emin Tufan Çetin [Fri, 20 Jul 2018 11:21:46 +0000 (11:21 +0000)]
Update Turkish translation
Yi-Soo An [Fri, 20 Jul 2018 06:42:26 +0000 (15:42 +0900)]
tests/animated-resizing: Remove deprecated functions
The functions as below are deprecated
- gdk_screen_get_monitor_geometry
- gdk_screen_get_primary_monitor
Instead of them, use functions below
- gdk_monitor_get_geometry
- gdk_display_get_primary_monitor
Yi-Soo An [Fri, 20 Jul 2018 06:40:37 +0000 (15:40 +0900)]
demos/gtk-demo/changedisplay: Remove deprecated gdk_flush
Use gdk_display_flush instead of it.
Yi-Soo An [Fri, 20 Jul 2018 06:39:49 +0000 (15:39 +0900)]
modules/input/gtkimcontextthai: Remove deprecated gdk_beep
Use gdk_display_beep instead of it.
Timm Bäder [Fri, 20 Jul 2018 06:24:14 +0000 (06:24 +0000)]
Merge branch '628-text-view-width' into 'gtk-3-24'
Resolve #628: "TextView: spaces acting as non-breaking whitespace if :left- or :right-margin is set"
See merge request GNOME/gtk!236
Matthias Clasen [Thu, 19 Jul 2018 21:57:19 +0000 (17:57 -0400)]
Emoji chooser: Also check for hex boxes
We don't want to see those either.
Matthias Clasen [Thu, 19 Jul 2018 21:50:54 +0000 (17:50 -0400)]
moji chooser: Try harder to avoid fallback
We don't want to see any fallback rendering.
The current check was still letting some fallback
combinations through.
Based on work by Julian Sparber.
Matthias Clasen [Thu, 19 Jul 2018 20:23:29 +0000 (20:23 +0000)]
Merge branch 'gtk-3-24-defaultvalues-ignore-more' into 'gtk-3-24'
defaultvalue: Ignore more style properties that Adwaita overrides
See merge request GNOME/gtk!253
Iain Lane [Thu, 19 Jul 2018 14:45:48 +0000 (15:45 +0100)]
defaultvalue: Ignore more style properties that Adwaita overrides
These broke once we switched away from Raleigh
Daniel Boles [Wed, 18 Jul 2018 22:09:12 +0000 (23:09 +0100)]
NEWS: Remove an accidental tab
Timm Bäder [Tue, 17 Jul 2018 15:33:09 +0000 (17:33 +0200)]
gesturestylus: Clarify a documentation comment
Use the proper gtkdoc syntax for signals.
Matthias Clasen [Wed, 18 Jul 2018 19:55:30 +0000 (15:55 -0400)]
3.23.1
Piotr Drąg [Wed, 18 Jul 2018 15:00:11 +0000 (17:00 +0200)]
Update POTFILES.in